xenstore: check F_SETFL fcntl invocation in setnonblock
authorMatthew Daley <mattd@bugfuzz.com>
Mon, 2 Dec 2013 12:45:16 +0000 (01:45 +1300)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 13 Dec 2013 16:55:12 +0000 (16:55 +0000)
commit7e52bfb60520816a218c1505498298926421cd09
tree3cc9e1f0fa3ffdcd91bca79eaf0d2323271ddc1b
parent4476d05cf5e8d3880f88ce16649766df67e0791e
xenstore: check F_SETFL fcntl invocation in setnonblock

...and check the newly-added result of setnonblock itself where used.

Coverity-ID: 1055103
Signed-off-by: Matthew Daley <mattd@bugfuzz.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstore/xs.c